#!/bin/bash
echo VAL0,VAL1,VAL2,VAL3,VAL4,VAL5,VAL6,VAL7,VAL8,VAL9,VALA,VALB,VALC,VALD,VALE,VALF,VAL10,VAL11,VAL12,VAL13,VAL14,VAL15,VAL16,VAL17,VAL18,VAL19,VAL1A,VAL1B,VAL1C,VAL1D,VAL1E,VAL1F,VAL20,VAL21,VAL22,VAL23,VAL24,VAL25,VAL26,VAL27,VAL28,VAL29,VAL2A,VAL2B,VAL2C,VAL2D,VAL2E,VAL2F,VAL30,VAL31,VAL32,VAL33,VAL34,VAL35,VAL36,VAL37,VAL38,VAL39,VAL3A,VAL3B,VAL3C,VAL3D,VAL3E,VAL3F,VAL40,VAL41,VAL42,VAL43,VAL44,VAL45,VAL46,VAL47,VAL48,VAL49,VAL4A,VAL4B,VAL4C,VAL4D,VAL4E,VAL4F,VALB0,VALB1,VALB2,VALB3,VALB4,VALB5,VALB6,VALB7,VALB8,VALB9,VALBA,VALBB,VALBC,VALBD,VALBE,VALBF,VALD0,VALD1,VALD2,VALD3,VALD4,VALD5,VALD6,VALD7,VALD8,VALD9,VALDA,VALDB,VALDC,VALDD,VALDE,VALDF
while [ 1 ]
do

    # VAL11=$(i2cget -y -f 1 0x36 0x11 w)
    # VAL12=$(i2cget -y -f 1 0x36 0x12 w)

    # echo $VAL11,$VAL12
    VAL0=$(i2cget -y -f 1 0x36 0x0 w)
VAL1=$(i2cget -y -f 1 0x36 0x1 w)
VAL2=$(i2cget -y -f 1 0x36 0x2 w)
VAL3=$(i2cget -y -f 1 0x36 0x3 w)
VAL4=$(i2cget -y -f 1 0x36 0x4 w)
VAL5=$(i2cget -y -f 1 0x36 0x5 w)
VAL6=$(i2cget -y -f 1 0x36 0x6 w)
VAL7=$(i2cget -y -f 1 0x36 0x7 w)
VAL8=$(i2cget -y -f 1 0x36 0x8 w)
VAL9=$(i2cget -y -f 1 0x36 0x9 w)
VALA=$(i2cget -y -f 1 0x36 0xA w)
VALB=$(i2cget -y -f 1 0x36 0xB w)
VALC=$(i2cget -y -f 1 0x36 0xC w)
VALD=$(i2cget -y -f 1 0x36 0xD w)
VALE=$(i2cget -y -f 1 0x36 0xE w)
VALF=$(i2cget -y -f 1 0x36 0xF w)
VAL10=$(i2cget -y -f 1 0x36 0x10 w)
VAL11=$(i2cget -y -f 1 0x36 0x11 w)
VAL12=$(i2cget -y -f 1 0x36 0x12 w)
VAL13=$(i2cget -y -f 1 0x36 0x13 w)
VAL14=$(i2cget -y -f 1 0x36 0x14 w)
VAL15=$(i2cget -y -f 1 0x36 0x15 w)
VAL16=$(i2cget -y -f 1 0x36 0x16 w)
VAL17=$(i2cget -y -f 1 0x36 0x17 w)
VAL18=$(i2cget -y -f 1 0x36 0x18 w)
VAL19=$(i2cget -y -f 1 0x36 0x19 w)
VAL1A=$(i2cget -y -f 1 0x36 0x1A w)
VAL1B=$(i2cget -y -f 1 0x36 0x1B w)
VAL1C=$(i2cget -y -f 1 0x36 0x1C w)
VAL1D=$(i2cget -y -f 1 0x36 0x1D w)
VAL1E=$(i2cget -y -f 1 0x36 0x1E w)
VAL1F=$(i2cget -y -f 1 0x36 0x1F w)
VAL20=$(i2cget -y -f 1 0x36 0x20 w)
VAL21=$(i2cget -y -f 1 0x36 0x21 w)
VAL22=$(i2cget -y -f 1 0x36 0x22 w)
VAL23=$(i2cget -y -f 1 0x36 0x23 w)
VAL24=$(i2cget -y -f 1 0x36 0x24 w)
VAL25=$(i2cget -y -f 1 0x36 0x25 w)
VAL26=$(i2cget -y -f 1 0x36 0x26 w)
VAL27=$(i2cget -y -f 1 0x36 0x27 w)
VAL28=$(i2cget -y -f 1 0x36 0x28 w)
VAL29=$(i2cget -y -f 1 0x36 0x29 w)
VAL2A=$(i2cget -y -f 1 0x36 0x2A w)
VAL2B=$(i2cget -y -f 1 0x36 0x2B w)
VAL2C=$(i2cget -y -f 1 0x36 0x2C w)
VAL2D=$(i2cget -y -f 1 0x36 0x2D w)
VAL2E=$(i2cget -y -f 1 0x36 0x2E w)
VAL2F=$(i2cget -y -f 1 0x36 0x2F w)
VAL30=$(i2cget -y -f 1 0x36 0x30 w)
VAL31=$(i2cget -y -f 1 0x36 0x31 w)
VAL32=$(i2cget -y -f 1 0x36 0x32 w)
VAL33=$(i2cget -y -f 1 0x36 0x33 w)
VAL34=$(i2cget -y -f 1 0x36 0x34 w)
VAL35=$(i2cget -y -f 1 0x36 0x35 w)
VAL36=$(i2cget -y -f 1 0x36 0x36 w)
VAL37=$(i2cget -y -f 1 0x36 0x37 w)
VAL38=$(i2cget -y -f 1 0x36 0x38 w)
VAL39=$(i2cget -y -f 1 0x36 0x39 w)
VAL3A=$(i2cget -y -f 1 0x36 0x3A w)
VAL3B=$(i2cget -y -f 1 0x36 0x3B w)
VAL3C=$(i2cget -y -f 1 0x36 0x3C w)
VAL3D=$(i2cget -y -f 1 0x36 0x3D w)
VAL3E=$(i2cget -y -f 1 0x36 0x3E w)
VAL3F=$(i2cget -y -f 1 0x36 0x3F w)
VAL40=$(i2cget -y -f 1 0x36 0x40 w)
VAL41=$(i2cget -y -f 1 0x36 0x41 w)
VAL42=$(i2cget -y -f 1 0x36 0x42 w)
VAL43=$(i2cget -y -f 1 0x36 0x43 w)
VAL44=$(i2cget -y -f 1 0x36 0x44 w)
VAL45=$(i2cget -y -f 1 0x36 0x45 w)
VAL46=$(i2cget -y -f 1 0x36 0x46 w)
VAL47=$(i2cget -y -f 1 0x36 0x47 w)
VAL48=$(i2cget -y -f 1 0x36 0x48 w)
VAL49=$(i2cget -y -f 1 0x36 0x49 w)
VAL4A=$(i2cget -y -f 1 0x36 0x4A w)
VAL4B=$(i2cget -y -f 1 0x36 0x4B w)
VAL4C=$(i2cget -y -f 1 0x36 0x4C w)
VAL4D=$(i2cget -y -f 1 0x36 0x4D w)
VAL4E=$(i2cget -y -f 1 0x36 0x4E w)
VAL4F=$(i2cget -y -f 1 0x36 0x4F w)

VALB0=$(i2cget -y -f 1 0x36 0xB0 w)
VALB1=$(i2cget -y -f 1 0x36 0xB1 w)
VALB2=$(i2cget -y -f 1 0x36 0xB2 w)
VALB3=$(i2cget -y -f 1 0x36 0xB3 w)
VALB4=$(i2cget -y -f 1 0x36 0xB4 w)
VALB5=$(i2cget -y -f 1 0x36 0xB5 w)
VALB6=$(i2cget -y -f 1 0x36 0xB6 w)
VALB7=$(i2cget -y -f 1 0x36 0xB7 w)
VALB8=$(i2cget -y -f 1 0x36 0xB8 w)
VALB9=$(i2cget -y -f 1 0x36 0xB9 w)
VALBA=$(i2cget -y -f 1 0x36 0xBA w)
VALBB=$(i2cget -y -f 1 0x36 0xBB w)
VALBC=$(i2cget -y -f 1 0x36 0xBC w)
VALBD=$(i2cget -y -f 1 0x36 0xBD w)
VALBE=$(i2cget -y -f 1 0x36 0xBE w)
VALBF=$(i2cget -y -f 1 0x36 0xBF w)
VALD0=$(i2cget -y -f 1 0x36 0xD0 w)
VALD1=$(i2cget -y -f 1 0x36 0xD1 w)
VALD2=$(i2cget -y -f 1 0x36 0xD2 w)
VALD3=$(i2cget -y -f 1 0x36 0xD3 w)
VALD4=$(i2cget -y -f 1 0x36 0xD4 w)
VALD5=$(i2cget -y -f 1 0x36 0xD5 w)
VALD6=$(i2cget -y -f 1 0x36 0xD6 w)
VALD7=$(i2cget -y -f 1 0x36 0xD7 w)
VALD8=$(i2cget -y -f 1 0x36 0xD8 w)
VALD9=$(i2cget -y -f 1 0x36 0xD9 w)
VALDA=$(i2cget -y -f 1 0x36 0xDA w)
VALDB=$(i2cget -y -f 1 0x36 0xDB w)
VALDC=$(i2cget -y -f 1 0x36 0xDC w)
VALDD=$(i2cget -y -f 1 0x36 0xDD w)
VALDE=$(i2cget -y -f 1 0x36 0xDE w)
VALDF=$(i2cget -y -f 1 0x36 0xDF w)


    # echo ${VAL0},${VAL1},${VAL2},${VAL3}
    # echo $VAL1,$VAL2,$VAL3,$VAL4,$VAL5,$VAL6,$VAL7,$VAL8,$VAL9,$VALA,$VALB,$VALC,$VALD,$VALE,$VALF,$VAL10,$VAL11,$VAL12,$VAL13,$VAL14,$VAL15,$VAL16,$VAL17,$VAL18,$VAL19,$VAL1A,$VAL1B,$VAL1C,$VAL1D,$VAL1E,$VAL1F
    echo $VAL0,$VAL1,$VAL2,$VAL3,$VAL4,$VAL5,$VAL6,$VAL7,$VAL8,$VAL9,$VALA,$VALB,$VALC,$VALD,$VALE,$VALF,$VAL10,$VAL11,$VAL12,$VAL13,$VAL14,$VAL15,$VAL16,$VAL17,$VAL18,$VAL19,$VAL1A,$VAL1B,$VAL1C,$VAL1D,$VAL1E,$VAL1F,$VAL20,$VAL21,$VAL22,$VAL23,$VAL24,$VAL25,$VAL26,$VAL27,$VAL28,$VAL29,$VAL2A,$VAL2B,$VAL2C,$VAL2D,$VAL2E,$VAL2F,$VAL30,$VAL31,$VAL32,$VAL33,$VAL34,$VAL35,$VAL36,$VAL37,$VAL38,$VAL39,$VAL3A,$VAL3B,$VAL3C,$VAL3D,$VAL3E,$VAL3F,$VAL40,$VAL41,$VAL42,$VAL43,$VAL44,$VAL45,$VAL46,$VAL47,$VAL48,$VAL49,$VAL4A,$VAL4B,$VAL4C,$VAL4D,$VAL4E,$VAL4,\
        $VALB0,$VALB1,$VALB2,$VALB3,$VALB4,$VALB5,$VALB6,$VALB7,$VALB8,$VALB9,$VALBA,$VALBB,$VALBC,$VALBD,$VALBE,$VALBF,$VALD0,$VALD1,$VALD2,$VALD3,$VALD4,$VALD5,$VALD6,$VALD7,$VALD8,$VALD9,$VALDA,$VALDB,$VALDC,$VALDD,$VALDE,$VALDF

    sleep 1
done


